level

open fun level(): Level

Returns the current log level specifying which message levels will be logged.


open fun level(level: Level)

Sets the log level specifying which message levels will be logged. Message levels lower than this value will be discarded. The OFF value can be used to turn off logging.

Parameters

level

the new value for the log level